package lesson2.com.general;

public interface Flyer {
    
    // can have NO constructors
    // no concrete methods
    // no instance fields
    
    // only 2 things can be in an interface
    
    // 1)  fields must be public static and final  <<< no exceptions !!!
    public static final String SOME_CONSTANT="Whooosh";
    int SOME_CONSTANT_INT=3;  // compiler inserts public static final int SOME_CONSTANT_INT;
    
    // 2) public abstract methods   // must be public and abstract
    public abstract void takeOff();
    public abstract void land();
    void fly(); // compiler will insert public abstract void fly();
    
    
    

}
